﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CHANGEPASS.aspx.cs" Inherits="YTBZ.PUB.CHANGEPASS" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divPass" runat="server" >
    <table style="padding-top:100px;padding-left:150px;height:100px;width:874px;"  >
        <tr><td class="TDTitle" style="width:150px;">请输入原密码：</td>
            <td class="TDTitle"><asp:TextBox CssClass="input_box" MaxLength="32" ID="txtUserPassOld" TextMode="Password"  runat="server" /></td></tr>
        <tr><td class="TDTitle">修改新密码：</td>
            <td class="TDTitle"><asp:TextBox CssClass="input_box" MaxLength="32" ID="txtUserPass" TextMode="Password" runat="server" />
               <%-- <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="新密码至少8位以上同时包含字母和数字两种" ValidationExpression="^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,20}$" ControlToValidate="txtUserPass" Display="Dynamic" ForeColor="Red"></asp:RegularExpressionValidator>--%>
                 </td></tr>
        <tr><td class="TDTitle">确认新密码：</td>
            <td class="TDTitle"><asp:TextBox CssClass="input_box" MaxLength="32" ID="txtUserPassP" TextMode="Password" runat="server" />
   <%--                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="确认密码至少8位以上同时包含字母和数字两种" ValidationExpression="^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,20}$" ControlToValidate="txtUserPassP" Display="Dynamic" ForeColor="Red"></asp:RegularExpressionValidator>--%>
 </td></tr>
        <tr><td class="TDTitle" colspan="2" style="text-align:left;"> <br />
            <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="确认密码和新密码不一致" ControlToCompare="txtUserPass" ControlToValidate="txtUserPassP" Display="Dynamic" ForeColor="Red"></asp:CompareValidator>
            
            <br /><br />
            <asp:Button ID="btnPass" runat="server"  SkinID="btnSkin100"  Text ="点此确认密码修改" OnClick="lbtnPass_onClick" ValidateRequestMode="Enabled" />
            </td></tr>
        <tr><td colspan="2" style="height:100%"></td></tr>
    </table>  
</div>
    </form>
</body>
</html>
